/*    */ package server;
/*    */ 
/*    */ import java.rmi.RemoteException;
/*    */ import java.sql.SQLException;
/*    */ import org.apache.logging.log4j.LogManager;
/*    */ import org.apache.logging.log4j.Logger;
/*    */ 
/*    */ 
/*    */ 
/*    */ public class ServerExceptionHandler
/*    */ {
/* 12 */   private static final Logger log = LogManager.getLogger(ServerExceptionHandler.class);
/*    */   
/*    */   public static void HandlerRemoteException(RemoteException exception) {
/* 15 */     log.error("异常类型 RemoteException：", exception);
/*    */   }
/*    */   
/*    */   public static void HandlerSqlException(SQLException exception) {
/* 19 */     log.error("异常类型 SQLException：", exception);
/*    */   }
/*    */   
/*    */   public static void HandlerException(Exception exception) {
/* 23 */     log.error("异常类型 " + exception.getClass().getName() + "：", exception);
/*    */   }
/*    */ }


/* Location:              C:\PGX\Server.jar!\server\ServerExceptionHandler.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */